<?php
include("../common.php");
if(strlen($_GET['country']) > 2){
	$c = connectToExternalDB();
	$r = mysql_query("SELECT country FROM country 
		WHERE country LIKE '".$_GET['country']."%'");
	while($row = mysql_fetch_array($r))
		echo $row[0].",";
	mysql_close($c);
}
?>
